home *** CD-ROM | disk | FTP | other *** search
- (*---------------------------------------------------------------------------*)
- (* Display_Menu -- Display menu of PibList commands *)
- (*---------------------------------------------------------------------------*)
-
- PROCEDURE Display_Menu;
-
- (*---------------------------------------------------------------------------*)
- (* *)
- (* Routine: Display_Menu *)
- (* *)
- (* Purpose: Display menu of PibList commands *)
- (* *)
- (* Calling Sequence: *)
- (* *)
- (* Display_Menu; *)
- (* *)
- (* Called By: Prompt *)
- (* *)
- (* Calls: Display_Screen *)
- (* *)
- (*---------------------------------------------------------------------------*)
-
- VAR
- C: CHAR;
-
- BEGIN (* Display_Menu *)
-
- Textcolor( Help_Text_Color );
- Window( 1, 1, 80, 25 );
- ClrScr;
- Gotoxy( 1, 1 );
-
- WRITELN(' E: Exit. Home : Move to start of file.');
- WRITELN(' Return: Display next screen. End : Move to end of file.');
- WRITELN(' ');
- WRITELN(' '^Z' : Move window right 10 columns.');
- WRITELN('S, +, +S, PgDn: Display next screen '^[' : Move window left 10 columns.');
- WRITELN(' -, -S, PgUp: Display previous screen. C or +C: Move window right 1 column.');
- WRITELN('n, +n, nS, -C: Move window left 1 column.');
- WRITELN(' or +nS : Skip forwards n screens. C or +nC: Move window right n columns.');
- WRITELN(' -n or -nS : Skip backwards n screens. -nC: Move window left n columns.');
- WRITELN(' Sn : Skip to absolute screen n. Cn: Move window to column n.');
- WRITELN(' ');
- WRITELN('^PgDn, P or +P: Skip forwards one page. W or +W: Increase width by 1 column.');
- WRITELN(' ^PgUp, -P: Skip backwards one page. -W: Decrease width by 1 column.');
- WRITELN(' nP or +nP: Skip forwards n pages. nW or +nW: Increase width by n columns.');
- WRITELN(' -nP: Skip backwards n pages. -nW: Decrease width by n columns.');
- WRITELN(' Pn: Skip to absolute page n. Wn: Set width to n columns.');
- WRITELN(' ');
- WRITELN(' '^Y' : Skip forwards one Line.');
- WRITELN(' '^X' : Skip backwards one line.');
- WRITELN(' L or +L: Skip forwards one Line. ''text: Find string "text"' );
- WRITELN(' -L: Skip backwards one Line. '': Find text again.');
- WRITELN(' nL or +nL: Skip forwards n Lines.');
- WRITELN(' -nL: Skip backwards n Lines.');
- WRITE (' Ln: Skip to absolute Line n.');
-
- Textcolor( ForeGround_Color );
-
- READ( Kbd , C );
-
- Display_Screen;
-
- END (* Display_Menu *);